package bme.data.datatypes {
	import bme.data.BRC_DataType;

	/*
	int id; 
    String name; 
    String tags; 
    Location location_poly; 
    Location location_point;
    Year year;
    Location location_line; 
    Location location_multigeom;
	*/
	 
	public class BRC_Infrastructure extends BRC_DataType {
		public var id:int;
		public var name:String;
		public var tags:String;
		public var location_poly:BRC_Location;
		public var year:BRC_Year;
		public var location_point:BRC_Location;		public var location_line:BRC_Location;		public var location_multigeom:BRC_Location;

		public function BRC_Infrastructure(dataObj : Object = null) {
			super(dataObj);
		}

		public static function getInfrastructure(value : *) : BRC_Infrastructure {
			return new BRC_Infrastructure(value);
		}
		
		public function toString() : String {
		        return "[BRC_Infrastructure id:" + id + ", name: " + name + "]";
		}

		
	}
}
